8046c8983804ea5b927bbbc1d6855cd6987d720c,hemesh/src/wblut/hemesh/HE_Intersection.java,HE_Intersection,getIntersection,#HE_Face#WB_Line#,33

Before Change


		P);
	if (lpi.intersection) {
	    p = new HE_FaceIntersection(face, (WB_Point) lpi.object);
	    final WB_Point cp = WB_GeometryOp.getClosestPoint3D(p.point,
		    face.toPlanarPolygon());
	    if (WB_Epsilon.isZero(WB_GeometryOp.getDistance3D(cp, p.point))) {
		return p;
	    }
	}

After Change


		P);
	if (lpi.intersection) {
	    p = new HE_FaceIntersection(face, (WB_Point) lpi.object);
	    if (WB_Epsilon.isZero(WB_GeometryOp.getDistanceToClosestPoint3D(
		    p.point, face.toPolygon()))) {
		return p;
	    }
	}